package net.maku.kyy.convert;

import net.maku.kyy.entity.KyyForumReplayEntity;
import net.maku.kyy.vo.KyyForumReplayVO;
import net.maku.kyy.vo.KyyForumReplayExcelVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 回复表
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Mapper
public interface KyyForumReplayConvert {
    KyyForumReplayConvert INSTANCE = Mappers.getMapper(KyyForumReplayConvert.class);

    KyyForumReplayEntity convert(KyyForumReplayVO vo);

    KyyForumReplayVO convert(KyyForumReplayEntity entity);

    List<KyyForumReplayVO> convertList(List<KyyForumReplayEntity> list);

    List<KyyForumReplayEntity> convertList2(List<KyyForumReplayVO> list);

    List<KyyForumReplayExcelVO> convertExcelList(List<KyyForumReplayEntity> list);

    List<KyyForumReplayEntity> convertExcelList2(List<KyyForumReplayExcelVO> list);
}